<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="custom-image" content="https://totemlife.cn/apps/public/trial-home-cover.jpg">
    <title>临床研究支持</title>
    <!-- Bootstrap CSS -->
    <script src="/apps/js/baidu-tongji-mtx.js"></script>
    <link href="/apps/css/bootstrap.min.css" rel="stylesheet">
    <link href="/apps/css/fontawesome-free-6.4.0-web/css/all.css" rel="stylesheet">
    <style>
        .stats-card {
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            padding: 20px;
            margin-bottom: 20px;
        }
        .menu-card {
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            padding: 20px;
            margin-bottom: 20px;
            transition: transform 0.2s;
            text-decoration: none;
            color: inherit;
            display: block;
        }
        .menu-card:hover {
            transform: translateY(-5px);
            text-decoration: none;
            color: inherit;
        }
        .menu-icon {
            font-size: 2rem;
            margin-bottom: 15px;
            color: #007bff;
        }
    </style>
</head>
<body>
    <div class="container py-4">
        <div class="row mb-4">
            <div class="col">
                <h2>临床研究支持</h2>
            </div>
        </div>

        <div class="row">
            {{#each menus}}
            <div class="col-md-6">
                <a href="{{url}}" class="menu-card">
                    <div class="text-center">
                        <div class="menu-icon">
                            <i class="{{icon}}"></i>
                        </div>
                        <h4>{{name}}</h4>
                        <p class="text-muted mb-0">{{description}}</p>
                    </div>
                </a>
            </div>
            {{/each}}
        </div>
    </div>
    <footer class="footer" style="text-align: center;">
        <div class="row">
            <div class="text-muted">&nbsp;</div>
            <div class="text-muted">{{userFlag}}</div>
            <div class="text-muted">我们为人类免疫事业而奉献</div>
            <div class="text-muted">&copy;2023 图腾生命医学</div>
        </div>
    </footer>

    <!-- 将所有JS文件移到这里，并添加defer属性 -->
    <script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js" defer></script>
    <script src="/apps/js/bootstrap.bundle.min.js" defer></script>
    <script src="/apps/js/wx-client-dom.js" defer></script>
    <script src="/apps/js/chart.js" defer></script>

</body>
</html> 
